<?php

/*

cmsMethod: GetUriById  <is:method call="GetUriById" params="id='documentid'" />

 * attributes:
 * id   Id des Documents
*/

require_once($GLOBALS['cfgPaths']['lib']."cms/cmsMethod.o.inc.php");

class geturibyid extends cmsMethod
{

  // $params:: name
  function performAction ($params)
  {
    global $tpl;
    $this->registerRelation($params['id']);
    return $tpl->prepareLink('pageid:'.$params['id']);
  }

}

?>